<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  
  <body>
  <form method="get" action="@{ProductTypes.search}">
  请输入产品类型：<input type="text" name="searchText">
  <input type="submit" name="searchText">
  </form>
 <table>
			<tr>
				<th>产品类型</th>
				<th>详细描述</th>
				
				
			</tr>
	    #{list items:productTypeList, as:'pr'}			    
		    <tr>
		    	<td>${pr.producttypename}</td>
		    	<td>${pr.description}</td>		    	
		    	<td><a href="@{ProductTypes.editProductType(pr.id)}">update</a></td>
		    	<td><a href="@{ProductTypes.deleteProductType(pr.id)}">delete</a></td>
		    </tr>
		#{/list}

	</table>
	<a href="@{Application.index}">Back</a>
  </body>
</html>
